package com.zzs.team.Service;

import com.zzs.team.DAO.TypeDao;
import com.zzs.team.Entity.Type;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TypeServiceImpl implements TypeService{
    @Autowired
    TypeDao typeDao;

    @Override
    public List<String> findAllTypes() {
        return typeDao.findAllTypes();
    }
}
